package cn.donghuapian.service;

import cn.donghuapian.entity.ImageEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hzw
 * @since 2024-09-14
 */
public interface IImageService extends IService<ImageEntity> {

    void add(MultipartFile file, String name);

    void update(MultipartFile file, String name, int id);
}
